package com.job.GaoYuXuan.Homework0707.Example1;

/**
 * @author 盖
 * @version 1.0
 * @since 2022-07-08 15:49:41
 */
public class Student {
    public String name;
    public int age;
    public int add(int a,int b){
        return a + b;
    }
    public static int count;
    public static void pri(){
        System.out.println("我们是济大的学生！");
    }

    public Student() {
        count++;
    }

    public Student(String name) {
        this.name = name;
        count++;
    }

    public Student(int age) {
        this.age = age;
        count++;
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
        count++;
    }
}